esaxx-rs
This code implements a fast suffix tree / suffix array.
This code is taken from and to be used by .
Small wrapper around sentencepiece's esaxx suffix array C++ library. Usage
let string = "abracadabra";
let suffix = suffix.unwrap;
let chars: = string.chars.collect;
let mut iter = suffix.iter;
assert_eq!; // abra
assert_eq!; // a
assert_eq!; // bra
assert_eq!; // ra
assert_eq!; // ''
assert_eq!;